package com.lanyan.system.domain.vo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.lanyan.common.annotation.RequiredField;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lanyan.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanyan.common.core.domain.BaseEntity;

/**
 * 余额流水Vo对象 balance_history
 *
 * @author lanyan
 * @date 2024-11-26
 */
@Data
public class BalanceHistoryVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "balance_history_id", type = IdType.AUTO)
    @RequiredField(update = true,delete = true)
    private Long balanceHistoryId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 所属用户 */
    @Excel(name = "所属用户")
    @ApiModelProperty("所属用户")
    private Long accountId;

    /** 金额 */
    @Excel(name = "金额")
    @ApiModelProperty("金额")
    private BigDecimal money;

    /** 类型（0微信） */
    @Excel(name = "类型", readConverterExp = "0=微信")
    @ApiModelProperty("类型（0微信）")
    private String type;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String title;

    /** 消费信息 */
    @Excel(name = "消费信息")
    @ApiModelProperty("消费信息")
    private String message;

    /** 指向 */
    @Excel(name = "指向")
    @ApiModelProperty("指向")
    private String pointTo;


}
